package com.shoping.common.exception;


/**
 * 在业务允许的范围 仅提示错误消息 HttpStatus=200 code=412
 *
 * @author zengweilong
 */
public class BusinessException extends BaseException {

    private static final long serialVersionUID = 4786889797307585459L;

    public static final int BUSINESS_MIN_CODE = 1000;

    public BusinessException(String errMsg) {
        super(String.valueOf(BUSINESS_MIN_CODE), errMsg);
    }

    public BusinessException(String code, String errMsg) {
        super(code, errMsg);
    }
}
